package com.ruoyi.oper.service.impl;

import com.ruoyi.oper.domain.OperPerson;
import com.ruoyi.oper.domain.OperProduct;
import com.ruoyi.oper.mapper.OperPersonMapper;
import com.ruoyi.oper.service.IOperPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OperPersonServiceImpl implements IOperPersonService {
    @Autowired
    private OperPersonMapper operPersonMapper;
    @Override
    public List<OperPerson> selectOperPersonList(OperPerson operPerson) {
        return operPersonMapper.selectOperPersonList(operPerson);
    }

    @Override
    public int insertOperPerson(OperPerson operPerson) {
        return operPersonMapper.insertOperPerson(operPerson);
    }
}
